﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;

namespace PSE.Framework.Process
{
    [DataContract]
    public abstract class HierarchicalProcessStartInfo
    {
        public HierarchicalProcessStartInfo()
        {
            this.Name = null;
            this.FileName = null;
            this.Arguments = null;
            this.Domain = null;
            this.UserName = null;
            this.CheckParentIsAlive = true;
            this.CheckChildIsAlive = false;
        }

        [DataMember]
        public string Name { get; set; }
        [DataMember]
        public string FileName { get; set; }
        [DataMember]
        public string Arguments { get; set; }
        [DataMember]
        public string Domain { get; set; }
        [DataMember]
        public string UserName { get; set; }
        [DataMember]
        public bool CheckParentIsAlive { get; set; }
        [DataMember]
        public bool CheckChildIsAlive { get; set; }
    }
}
